package com.game.framework.dao.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

@Data
@Document("ActivityAwardEntity")
@TableName( value ="tf_activity_award" )
public class ActivityAwardEntity extends BaseEntity<Long> {

    @TableField(value = "activity_id")
    private long activityId;

    @TableField(value = "user_id")
    private long userId;

    @TableField(value = "role_id")
    private long roleId;

    @TableField(value = "phone")
    private String phone;

    @TableField(value = "award_type")
    private int awardType;

    @TableField(value = "award_name")
    private String awardName;

    @TableField(value = "object_id")
    private long objectId;

    @TableField(value = "fish_type")
    private int fishType;

    @TableField(value = "fish_count")
    private int fishCount = 0;

    @TableField(value = "exc_time")
    private Date excTime;

}

